#include "opencv2/opencv.hpp"
#include <vector>


using namespace cv;
using namespace std;


int main(void){
    Mat srcImg = imread("../data/river1-180.jpg");
    vector<KeyPoint> kpts;
    Ptr<ORB> orbPtr = ORB::create();
    orbPtr->detect(srcImg, kpts);
    Mat imgKpts;
    cv::drawKeypoints(srcImg, kpts, imgKpts, cv::Scalar::all(-1), cv::DrawMatchesFlags::DEFAULT);
    cv::imshow("kerpoints", imgKpts);
    cv::imwrite("orb1.jpg", imgKpts);
    return 0;
}
